package ziface

/*
*
消息管理层抽象
*/
type IMsgHandler interface {

	//调度/执行队形router 消息处理方法
	DoMsgHandler(request IRequest)

	//为消息添加具体的处理模块
	AddRouter(msgId uint32, router IRouter)

	//启动work 工作池
	StartWorkPool()

	//启动一个worker 工作流程
	//StartOneWorker(workerId int, taskQueue chan IRequest)

	SendMsgTaskQueue(request IRequest)
}
